#ifndef _ZOMBY_H
#define _ZOMBY_H

#include "character.h"
class Animation;

//#define STATE_BORN 201
//#define STATE_ROT 202

class Zomby: public Character{
public:

	Zomby();
	~Zomby();

	Animation* ani_dead;	
	Animation* ani_stand;	
	Animation* ani_run;
	Animation* ani_fall;
	Animation* ani_bite;
	Animation* ani_kick;
	Animation* ani_rot;

	Point2** kick;
	Point2** bite;

	bool new_frame;

//	void setState(int state, int argument);
	void (Zomby::*set_func)(Level* level, Point2* acc, float dt);
	void update(Level* level, Point2* acc, float dt);

	void still(Level* level, Point2* acc, float dt);
	void move(Level* level, Point2* acc, float dt);
	void fall(Level* level, Point2* acc, float dt);
	void die(Level* level, Point2* acc, float dt);
	void jump(Level* level, Point2* acc, float dt);
	void punch_f(Level* level, Point2* acc, float dt);
//	void rot(Level* level, Point2* acc, float dt);

	void setStill(int argument);
	void setMove(int argument);
	void setJump(int argument);
	void setFall(int argument);
	void setDead(int argument);
	void setAttack(int argument);

	float get_xLo();
	float get_xHi();
	float get_yLo();
	float get_yHi();
	float get_pic_xLo();
	float get_pic_xHi();
	float get_pic_yLo();
	float get_pic_yHi();

	Rect* getBody();
	Rect* getBox();
};

#endif
